#include "s3c2440.h"
#include "pll.h"
#include "uart.h"

int main()
{
    //void(*f)(void);
    //while(1)
    //TurnOnMpll(0);
    //SlowEnable(1);

    uart_init(GetPclk(),115200);
    send_int(MPLLCON);
    ChangeMpll(0x9f,0x4,0x1);
    uart_init(GetPclk(),115200);
    puts("hello\n");
    puts("start\n");
    send_int(GetMpllClk());
    putch('\n');
    send_int(GetPclk());
    putch('\n');
    send_int(GetHclk());
    putch('\n');
    send_int(GetFclk());
    putch('\n');
    while(1);



    //f=(void (*)())(0x00000014);
    //f();
    return 0;

}